package com.yw.dataAsset.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.data.annotation.Id;

import java.time.LocalDateTime;

@Data
@NoArgsConstructor
@TableName(value = "data_asset")
public class DataAssetInfo {

    @Schema(description = "内码",name = "id")
    @Id
    @TableId(type = IdType.AUTO)
    private Integer id; // 数据资产id

    @Schema(description = "数据资产中文名称",name = "databaseCname")
    private String databaseCname; // 数据资产表中文名称

    @Schema(description = "数据资产英文名称",name = "databaseEname")
    private String databaseEname; // 数据资产表英文名称

    @Schema(description = "数据资产描述",name = "databaseDesc")
    private String databaseDesc; // 数据资产表描述

    @Schema(description = "发布状态",name = "staticStatus")
    private Integer staticStatus; // 发布状态


    @Schema(description = "创建时间",name = "createTime")
    private LocalDateTime createTime; // 创建时间

    @Schema(description = "修改时间",name = "updateTime")
    private LocalDateTime updateTime; // 更新时间
}
